package com.mdd.car.params.vehicle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 车辆参数
 * @author LikeAdmin
 */
@Data
@ApiModel("车辆更新参数")
public class VehicleUpdateStatusValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "车辆编号")
    private Long id;

    @NotNull(message = "rentalStatus参数缺失")
    @ApiModelProperty(value = "租赁状态;租赁状态：0、待租赁1、已租赁")
    private Long rentalStatus;

    @NotNull(message = "vehicleStatus参数缺失")
    @ApiModelProperty(value = "车辆状态;车辆状态：0、正常1、维修中2、保养中")
    private Long vehicleStatus;

}
